$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$f: 19.2;

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: all 600ms;
  // box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  padding: 1.5vw 0;

  .box {
    margin: 0 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .logo {
      position: relative;

      img {
        width: 240/$f+vw;
        transition: all 600ms;
      }

      img:nth-child(2) {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
      }
    }

    .links {
      display: flex;
      width: 40vw;
      justify-content: space-between;

      .item {
        a {
          color: #FFF;
          font-size: $fontSize_18;
          font-weight: 700;
        }
        .active{
          color:#1B2170;
        }
      }
    }

    .r {
      display: flex;
      align-items: center;

      .search {
        cursor: pointer;
        position: relative;
        svg {
          transition: all 600ms;
          display: block;
        }
        .sr {
          position: absolute;
          top: -5px;
          left: calc(-100% - 9vw);
          display: none;
          input {
            width: 8vw;
            font-size: 14/$f+vw;
            padding: 8px 10px;
            outline: none;
            border: none;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
          }
        }
      }

      .lan {
        margin-left: 2vw;

        a {
          display: flex;
          align-items: center;

          svg {
            transition: all 600ms;
          }

          p {
            color: #FFF;
            font-size: $fontSize_16;
            font-weight: 300;
            margin-left: 5px;
            transition: all 600ms;
          }
        }
      }
    }
  }
}

.hasBg,.hasBg2 {
  background: #FFF;
  border-bottom: 1px solid rgba(0, 0, 0, .3);
  .box {
    .logo {
      img:nth-child(1) {
        opacity: 0;
      }

      img:nth-child(2) {
        opacity: 1;
      }
    }

    .links {
      .item {
        a {
          color: #000;
        }
      }
    }

    .r {
      .search {
        svg {
          filter: invert(100%);
        }
      }

      .lan {
        a {
          svg {
            filter: invert(100%);
          }

          p {
            color: #000;
          }
        }
      }
    }
  }
}


.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    ;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        height: 50px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #0060B0;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 40px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.foot {
  padding: 8vw 8vw 16vw 8vw;
  background: #020626 url(../images/fbg.png) no-repeat;
  background-size: contain;
  background-position: bottom center;

  .t1 {
    color: #FFF;
    font-size: 48/$f+vw;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
  }

  .btns {
    display: flex;
    justify-content: center;
    margin: 1vw 0 6vw 0;

    a {
      font-size: $fontSize_20;
      color: white;
      padding: 0.4vw 2vw;
      border: 1px solid white;
      border-radius: 30px;
      margin: 0 0.5vw;
      transition: all 600ms;
      &:hover{
        background-color: white;
        color:#1B2170;
      }
    }
  }

  .logo {
    img {
      display: block;
      margin: 0 auto;
      max-width: 100%;
    }
  }

  .t2 {
    color: #FFF;
    font-weight: 800;
    font-size: 48/$f+vw;
    text-align: center;
    margin: 2vw 0;
  }

  .links {
    display: flex;
    margin-top: 6vw;
    justify-content: space-between;

    .i2 {
      // width: 20%;
      display: flex;

      .l {
        color: #FFF;
        font-size: $fontSize_16;
        font-weight: 700;
        margin-right: 1vw;
      }

      .rt {
        a {
          display: block;
          color: #FFF;
          font-size: $fontSize_16;
          opacity: .5;
          margin-bottom: 0.8vw;
          transition: all 600ms;
          &:hover{
            opacity: 1;
          }
        }

        p {
          color: #FFF;
          font-size: $fontSize_16;
          opacity: .5;
          margin-bottom: 0.8vw;
        }

        .phone {
          font-size: 32/$f+vw;
          font-weight: 700;
          opacity: 1;
          font-family: 'Montserrat-Regular.otf';
        }
      }

      .icons {
        display: flex;
        align-items: center;
        transform: translateX(-1.2vw);

        a {
          display: block;
          margin-right: 1vw;

          svg {
            display: block;
            width: 26/$f+vw;
          }
        }
      }
    }

    // .i2:last-child{
    //   .l{
    //     width: 100%;
    //     text-align: center;
    //   }
    // }
  }

  .links2 {
    justify-content: flex-start;

    .i2:nth-child(2) {
      margin: 0 7.8vw 0 10.5vw;
    }

    .i2:last-child {
      height: fit-content;
    }
  }
}


.f_btn {
  position: fixed;
  right: 2vw;
  bottom: 7%;
  z-index: 10;
  a {
    display: flex;
    position: relative;

    img {
      width: 133/$f+vw;
      height: 133/$f+vw;
      display: block;
      object-fit: cover;
    }

    p {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      color: #FFF;
      font-size: $fontSize_16;
      line-height: 1.2;
    }
  }
}

.cookies {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5%;
  width: 52vw;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.30);
  background: #FFF;
  padding: 1.5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  display: none;
  .l {
    width: 67%;
    .p1{
      color: #000;
      font-size: $fontSize_16;
    }
    .des{
      color: #000;
      font-size: $fontSize_16;
      margin-top: 0.5vw;
      a{
        color: #000;
        opacity: .5;
        text-decoration: underline;
      }
    }
  }

  .r {
    width: 30%;

    div {
      border-radius: 100px;
      border: 1px solid rgba(27, 33, 112, 0.30);
      background: #FFF;
      padding: 0.5vw 0;
      text-align: center;
      cursor: pointer;
      font-size: 14/$f+vw;
      transition: all 600ms;
      &:hover{
        background: #1B2170;
        color:white;
      }
    }
    .accept{
      margin-bottom: .8vw;
    }
  }
}


@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }
  .foot{
    padding: 30px 5%;
    .t1{
      font-size: 18px;
    }
    .btns{
      margin: 15px 0  30px 0;
      a{
        font-size: 14px;
        padding: 5px 25px;
        margin: 0 10px;
      }
    }
    .t2{
      font-size: 20px;
      margin: 0 0 50px 0;
    }
    .links{
       display: none;
    }
  }
  .cookies{
    width: 80%;
    padding: 15px;
    flex-direction: column;
    .l{
      width: 100%;
      .p1{
        font-size: 18px;
      }
      .des{
        font-size: 14px;
      }
    }
    .r{
      width: 100%;
      margin-top: 10px;
      div{
        padding: 8px 0;
        font-size: 14px;
        margin-top: 10px;
      }
    }
  }
  .f_btn{
    bottom:2%;
    a{
      img{
        width: 60px;
        height: 60px;
      }
      p{
        font-size: 14px;
      }
    }
  }
}